package com.kunbo.controller.local;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller
public class HtmlController{

//    @RequestMapping("/")
//    public String start(){
//        return "index";
//    }


    @RequestMapping("/welcome")
    public String welcome(){
        return "/welcome";
    }

    //返回vip列表
//    @RequestMapping(value = "/vip", method = RequestMethod.GET)
//    public String vip(){
//        return "VIP/vip";
//    }

    //打开vip具体列表
    @RequestMapping(value = "/vipdetail", method = RequestMethod.GET)
    public String vipDetail(){
        return "VIP/vipdetail";
    }

    @RequestMapping(value = "/error", method = RequestMethod.GET)
    public String getErrorPage(){
        return "/error/error";
    }

    @RequestMapping(value = "/denied", method = RequestMethod.GET)
    public String getDeniedPage(){
        return "/error/error";
    }
}
